<%@ page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="header.jsp"/>
<form action="${requestScope.config.site_root}/admin?c=account&a=add" method="post" name="myform">
<table cellpadding="2" cellspacing="1" class="table_form">
	<caption>添加管理员</caption>
	<tr>
		<th width="10%"><strong>管理员名称</strong></th>	
		<td><input type="text" name="username"></td>
	</tr>
	<tr>
		<th width="10%"><strong>密码</strong></th>	
		<td><input type="password" name="password"></td>
	</tr>
	<tr>
		<th width="10%"><strong>确认密码</strong></th>	
		<td><input type="password" name="passwordConfirm"></td>
	</tr>
	<tr>
		<th width="10%"><strong>强制QQ登陆</strong></th>	
		<td><input type="radio" name="forceQq" value="0" checked style="vertical-align:middle;"/>否 <input type="radio" name="force_qq" value="1" style="vertical-align:middle;">是</td>
	</tr>
	<tr>
		<th width="10%"><strong>是否是自由账号</strong></th>	
		<td><input type="radio" name="isfree" value="0" style="vertical-align:middle;">否 <input type="radio" name="isfree" value="1" style="vertical-align:middle;" checked>是 <span style="color:red;">(自由账号可以修改自己的资料)</span></td>
	</tr>
	<tr>
		<th width="10%"><strong>用户组</strong></th>	
		<td>
			<select name="groupid">
				<c:forEach items="${requestScope.groups}" var="group">
				<option value="${group.key}">${group.value}</option>
				</c:forEach>
			</select>
		</td>
	</tr>
	<tr>
		<th width="10%"></th>	
		<td><input type="submit" name="doadd" value="确定" class="button_style"></td>
	</tr>
</table>
</form>
<jsp:include page="footer.jsp"/>